<!--{template 'header','buyhelp'}-->
<!--内页导航 end-->
<div class="layout960">
	<ul class="inner-nav fn-clear">
		<li {if !$catid}class="current"{/if}><a href="{url('buyhelp/new')}" title="导购首页">新车首页</a></li>
		<li {if $catid == 2562}class="current"{/if}><a href="{url('buyhelp/newList','catid=2562')}" title="新车谍照">新车谍照</a></li>
		<li {if $catid == 2563}class="current"{/if}><a href="{url('buyhelp/newList','catid=2563')}" title="国产新车">国产新车</a></li>
		<li {if $catid == 2564}class="current"{/if}><a href="{url('buyhelp/newList','catid=2564')}" title="进口新车">进口新车</a></li>
	</ul>
</div>
<!--主体部分 start-->
<div class="layout960 mt10 fn-clear">
<div class="layout650 fn-left">
	<div class="newcar-top fn-clear">
		<!--图片轮转-->
		<div id="J_Ronate" class="index-img-rotate rotate315 fn-left fn-clear">
			<ul>
				{loop $picList $k  $t}
				<li {if $k==0}class="magic-img-now"{/if}>
				<a href="{url('info/show','itemid='.$t['itemid'])}" target="_blank" title="{$t[title]}">
					<img src="{Picture::thumb($t['thumb'], 325, 240)}" alt="{$t[title]}"></a>
				<p class="opacity"><a href="{url('info/show','itemid='.$t['itemid'])}" target="_blank" title="{$t[title]}">{$t[title]}</a></p>
				</li>
				{/loop}
			</ul>
			<a class="pre" href="javascript:void(0)"></a>
			<a class="next" href="javascript:void(0)"></a>
			<div class="index-vector">
				{loop $picList $k  $t}
				<span {if $k==0}class="active"{/if}></span>
				{/loop}
			</div>
		</div>
		<!--图片轮转 end-->
		<div class="newcar-tright layout-3col fn-right">
			<h2 class="text-ellipsis">
				<a href="{url('info/show','itemid='.$top_one['itemid'])}" title="{$top_one[title]}" target="_blank">{$top_one[title]}</a>
			</h2>
			<ul class="ul-blue withtime">
				{loop $topList $t}
				<li>
					<a href="{url('info/show','itemid='.$t['itemid'])}" title="{$t[title]}" target="_blank">{$t[title]}</a>
					<span>{timetodate($t[addtime],3)}</span>
				</li>
				{/loop}
			</ul>
		</div>
	</div>
	<!--新车上市-->
	<div class="panel-rec-radius mt10">
		<div class="hd-rec-radius hd-26 fn-clear">
			<h3 class="fn-left">新车上市</h3>
			<a href="{url('auto/index')}" title="更多" class="more" target="_blank">更多>></a>
		</div>
		<ul class="img-info-list fn-clear">
			{loop $carList $t}
			<li>
				<a href="{url('auto/car','carid='.$t[arid])}" title="{$t[name]}" class="img fn-left" target="_blank">
					<img src="{Picture::thumb($t[car_thumb],140,110)}" width="140" height="110" alt="{$t[name]}">
				</a>
				<div class="detail fn-right">
					<h3 class="text-ellipsis"><a href="{url('auto/car','carid='.$t[arid])}" title="{$t[name]}" target="_blank">{$t[name]}</a></h3>
					<p>级别：{$t[levelrange]}</p>
					<p>指导价：{$t[pricerange]}</p>
					<a href="{url('auto/sale','carid='.$t[arid])}" title="汽车批发" target="_blank">汽车批发</a>
				</div>
			</li>
			{/loop}
		</ul>
	</div>
	<!--新车试驾-->
	<div class="newcar-try panel-rec-radius mt10">
		<div class="hd-rec-radius hd-26 fn-clear">
			<h3 class="fn-left">新车试驾</h3>
			<a href="{url('buyhelp/drive')}" title="更多" class="more">更多>></a>
		</div>
		<ul class="img-news fn-clear">
			{loop $driveList $t}
			<li>
				<a href="{url('guide/show','itemid='.$t[itemid])}" title="{$t[title]}" class="img" target="_blank">
					<img src="{Picture::thumb($t[thumb],140,110)}"  alt="alt">
				</a>
				<a href="{url('guide/show','itemid='.$t[itemid])}" title="{$t[title]}" target="_blank">{$t[title]}</a>
			</li>
			{/loop}
		</ul>
	</div>
</div>
<div class="layout-2of2 fn-right">
<iframe src="{SITE_URL}extend/fragment.php?modules=carhits&psize=10"  scrolling="no" frameborder="0" height="380"></iframe>
<iframe src="{SITE_URL}extend/fragment.php?modules=sale&psize=10"  scrolling="no" frameborder="0" height="300"></iframe>
<iframe src="{SITE_URL}extend/fragment.php?modules=new&psize=10"  scrolling="no" frameborder="0" height="300"></iframe>
</div>
</div>

<!--新车图片-->
<div class="layout960 mt10">
	<div class="hd-rec-radius hd-26 fn-clear">
		<h3 class="fn-left">新车图片</h3>
		<a href="{url('buyhelp/pictureList')}" title="更多" class="more">更多>></a>
	</div>
	<div class="index-pics fn-clear">
		{php $table = 'auto_picture_'.rand(0,9)}
		{php $tag=Template::tag("table=$table&condition=status=1 and alid in(546,548,551,552) and title!='' and imgurl!= ''&pagesize=7&order=rand(),edittime desc&template=null")}
		{php $top = array_shift($tag)}
		<div class="index-bigpic fn-left">
			<a href="{url('auto/pictureShow', 'carid='.$top['arcid'].'&pictureid='.$top['apid'])}" title="{$top[title]}" target="_blank" class="img">
				<img src="{Picture::thumb($top[imgurl],395,265)}" alt="{$top[title]}">
			</a>
			<a href="{url('auto/pictureShow', 'carid='.$top['arcid'].'&pictureid='.$top['apid'])}" title="{$top[title]}" target="_blank" class="text-ellipsis">{$top[title]}</a>
		</div>
		<ul class="fn-right fn-clear">
			{php $toppic = array_splice($tag,0,6)}
			{loop $toppic $t}
			<li>
				<a href="{url('auto/pictureShow', 'carid='.$t['arcid'].'&pictureid='.$t['apid'])}"
				   title="{$t[title]}" target="_blank" class="img">
					<img src="{Picture::thumb($t[imgurl],165,130)}" alt="{$t[title]}">
				</a>
				<a href="{url('auto/pictureShow', 'carid='.$t['arcid'].'&pictureid='.$t['apid'])}" title="{$t[title]}" target="_blank" class="text-ellipsis">{$t[title]}</a>
			</li>
			{/loop}
		</ul>
	</div>
</div>

<!--新车视频-->
<div class="newcar-video layout960 mt10">
	<div class="hd-rec-radius hd-26 fn-clear">
		<h3 class="fn-left">新车视频</h3>
		<a href="{url('video/index')}" title="更多" class="more">更多>></a>
	</div>
	<ul class="img-news fn-clear">
		{loop $videoList $t}
		<li>
			<a href="{url('video/show','itemid='.$t['itemid'])}" title="{$t[title]}" class="img" target="_blank">
				<img src="{Picture::thumb($t[thumb],170,105)}"  alt="alt">
			</a>
			<a href="{url('video/show','itemid='.$t['itemid'])}" title="{$t[title]}" target="_blank">{$t[title]}</a>
		</li>
		{/loop}
	</ul>
</div>
<!--主体部分 end-->
<script>
	seajs.use(['mod-magic','common'],function(magic){
		//头部图片轮转
		var magic = new magic("#J_Ronate");
		magic.magic();
		magic.preImg();
		magic.nextImg();
		magic.indexImg();
	});
</script>
<!--{template 'footer'}-->